﻿
@model HomeDetailsViewModel
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
    ViewBag.Title = "学生详情页";

}

<div class="row justify-content-center m-3">
    <div class="col-sm-8">
        <div class="card">
            <div class="card-header">
                <h1>@Model.student.Name</h1>
            </div>

            <div class="card-body text-center">
                <img class="card-img-top" src="~/image/1.jpg">

                <h4>学生ID： @Model.student.Id</h4>
                <h4>邮箱：@Model.student.Email</h4>
                <h4>班级姓名：@Model.student.ClassName</h4>
            </div>
            <div class="card-footer text-center">
                <a asp-action="Index" asp-controller="home" class="btn btn-primary">返回</a>
                <a href="#" class="btn btn-primary">编辑</a>
                <a href="#" class="btn btn-primary">删除</a>
            </div>
        </div>
    </div>
</div>

@section Scripts{
    <script src="~/js/customer.js"></script>
}
